
package system.base;

import framework.core.*;

/*
	Author    :chengbiao.he
	CreateTime:2008-02-25 09:29:27
*/
public class CheckSubSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_check_bill_id = "" ; // all

	private String m_check_bill_code = "" ; // all

	private String m_position_code = "" ; // all

	private String m_position_name = "" ; // all

	private String m_product_id = "" ; // all

	private String m_product_code = "" ; // all

	private String m_product_name = "" ; // all

	private double m_position_count = Value.NULL_DOUBLE ; // all

	private double m_acture_count = Value.NULL_DOUBLE ; // all

	private String m_status = "" ; // all

	private String m_create_user_id = "" ; // all

	private String m_create_user = "" ; // all

	private String m_create_time = "" ; // all

	private String m_last_update_user_id = "" ; // all

	private String m_last_update_user = "" ; // all

	private String m_last_update_time = "" ; // all

	private String m_is_sync = "" ; // all
		

public CheckSubSearchEvent() 
{
	super();
	
	setOrderField(CheckSub.ID);
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getCheckBillId()
	{
		return m_check_bill_id ;
	}
	public void setCheckBillId(String v)
	{
		m_check_bill_id = v;
	}

	public String getCheckBillCode()
	{
		return m_check_bill_code ;
	}
	public void setCheckBillCode(String v)
	{
		m_check_bill_code = v;
	}

	public String getPositionCode()
	{
		return m_position_code ;
	}
	public void setPositionCode(String v)
	{
		m_position_code = v;
	}

	public String getPositionName()
	{
		return m_position_name ;
	}
	public void setPositionName(String v)
	{
		m_position_name = v;
	}

	public String getProductId()
	{
		return m_product_id ;
	}
	public void setProductId(String v)
	{
		m_product_id = v;
	}

	public String getProductCode()
	{
		return m_product_code ;
	}
	public void setProductCode(String v)
	{
		m_product_code = v;
	}

	public String getProductName()
	{
		return m_product_name ;
	}
	public void setProductName(String v)
	{
		m_product_name = v;
	}

	public double getPositionCount()
	{
		return m_position_count ;
	}
	public void setPositionCount(double v)
	{
		m_position_count = v;
	}

	public double getActureCount()
	{
		return m_acture_count ;
	}
	public void setActureCount(double v)
	{
		m_acture_count = v;
	}

	public String getStatus()
	{
		return m_status ;
	}
	public void setStatus(String v)
	{
		m_status = v;
	}

	public String getCreateUserId()
	{
		return m_create_user_id ;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}

	public String getCreateUser()
	{
		return m_create_user ;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}

	public String getCreateTime()
	{
		return m_create_time ;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}

	public String getLastUpdateUserId()
	{
		return m_last_update_user_id ;
	}
	public void setLastUpdateUserId(String v)
	{
		m_last_update_user_id = v;
	}

	public String getLastUpdateUser()
	{
		return m_last_update_user ;
	}
	public void setLastUpdateUser(String v)
	{
		m_last_update_user = v;
	}

	public String getLastUpdateTime()
	{
		return m_last_update_time ;
	}
	public void setLastUpdateTime(String v)
	{
		m_last_update_time = v;
	}

	public String getIsSync()
	{
		return m_is_sync ;
	}
	public void setIsSync(String v)
	{
		m_is_sync = v;
	}
		



	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewCheckBillId() throws Exception
	{
		return Value.view(getCheckBillId());
	}

	public String viewCheckBillCode() throws Exception
	{
		return Value.view(getCheckBillCode());
	}

	public String viewPositionCode() throws Exception
	{
		return Value.view(getPositionCode());
	}

	public String viewPositionName() throws Exception
	{
		return Value.view(getPositionName());
	}

	public String viewProductId() throws Exception
	{
		return Value.view(getProductId());
	}

	public String viewProductCode() throws Exception
	{
		return Value.view(getProductCode());
	}

	public String viewProductName() throws Exception
	{
		return Value.view(getProductName());
	}

	public String viewPositionCount() throws Exception
	{
		return Value.view(getPositionCount());
	}

	public String viewActureCount() throws Exception
	{
		return Value.view(getActureCount());
	}

	public String viewStatus() throws Exception
	{
		return Value.view(getStatus());
	}

	public String viewCreateUserId() throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser() throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId() throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser() throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime() throws Exception
	{
		return Value.view(getLastUpdateTime());
	}

	public String viewIsSync() throws Exception
	{
		return Value.view(getIsSync());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(CheckSub.ID,getId()));

	c.add(getCondition(CheckSub.CHECK_BILL_ID,getCheckBillId()));

	c.add(getCondition(CheckSub.CHECK_BILL_CODE,getCheckBillCode()));

	c.add(getCondition(CheckSub.POSITION_CODE,getPositionCode()));

	c.add(getCondition(CheckSub.POSITION_NAME,getPositionName()));

	c.add(getCondition(CheckSub.PRODUCT_ID,getProductId()));

	c.add(getCondition(CheckSub.PRODUCT_CODE,getProductCode()));

	c.add(getCondition(CheckSub.PRODUCT_NAME,getProductName()));

	c.add(getCondition(CheckSub.POSITION_COUNT,getPositionCount()));

	c.add(getCondition(CheckSub.ACTURE_COUNT,getActureCount()));

	c.add(getCondition(CheckSub.STATUS,getStatus()));

	c.add(getCondition(CheckSub.CREATE_USER_ID,getCreateUserId()));

	c.add(getCondition(CheckSub.CREATE_USER,getCreateUser()));

	c.add(getCondition(CheckSub.CREATE_TIME,getCreateTime()));

	c.add(getCondition(CheckSub.LAST_UPDATE_USER_ID,getLastUpdateUserId()));

	c.add(getCondition(CheckSub.LAST_UPDATE_USER,getLastUpdateUser()));

	c.add(getCondition(CheckSub.LAST_UPDATE_TIME,getLastUpdateTime()));

	c.add(getCondition(CheckSub.IS_SYNC,getIsSync()));
		

			
		return c ;
	}
	
//add by chengbiao.he start

//add by chengbiao.he end
}
